import request from '@/utils/request'
// 上传
export function postUploadImg(query) {
  return request({
    url: '/upload',
    method: 'post',
    data: query
  })
}
// 注册访客
export function postRegister(query){
  return request({
    url: '/register',
    method: 'post',
    data: query
  })
}
// 登录
export function postLogin(query) {
  return request({
    url: '/login',
    method: 'post',
    data: query
  })
}
// 获取用户信息
export function getInfo(query) {
  return request({
    url: '/userInfo',
    method: 'post',
    data: query
  })
}
// 数据大屏

export function getDataScreen(query) {
  return request({
    url: '/dataScreen',
    method: 'post',
    data: query
  })
}


